type IFormType = 'input' | 'password' | 'select' | 'datepicker'

export interface IFormItem {
  field: string,
  label: string,
  rules?: any[],
  placeholder?: any,
  type: IFormType,
  //针对select
  options?: any[],
  //针对特殊属性
  otherOptions?: any,
  isHidden?:boolean
}

export interface IForm{
  formItems:IFormItem[],
  labelWidth?: string,
  colLayout?: any,
  itemStyle?: any
}
